package com.example.hostsys.dao;

import com.example.hostsys.entity.HostMan;
import com.example.hostsys.entity.House;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HouseDao extends JpaRepository<House,Integer> {
    List<House> findAllByHostMan(HostMan hostMan);

}
